<?php 
use \PsiFramework\Classes\Util\UI\Printer;
?>
<h1>
    <?php Printer::display($languageManager->getText('ERROR')); ?>
</h1>
<p>
    <?php 
    $debug = $response->getAttribute("debug");
    $error = $response->getAttribute("error");
    if ($debug) {
        if ($error instanceof \Exception) {
            echo $error->getMessage().'<br/>';
        }
        echo nl2br($error);
    }
    ?>
</p>
